package org.letva.toink.auditlog;

import com.google.inject.AbstractModule;
import com.google.inject.Scopes;
import org.hibernate.Interceptor;
import org.letva.toink.auditlog.interceptor.SimpleAuditLogInterceptor;

public class AuditlogModule extends AbstractModule {

    @Override
    public void configure() {
            bind(Interceptor.class)
                .to(SimpleAuditLogInterceptor.class)
                .in(Scopes.SINGLETON);
    }
}
